package com.cloud.activiti.controller;

import com.cloud.activiti.service.ActivitiExecuteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ActivitiController {

    @Autowired
    private ActivitiExecuteService activitiService;

    /**
     * 获取所有字典
     *
     * @return
     */
    @GetMapping("/deploy")
    public String deploy() {
        activitiService.deploy("","","");
        return "SUCCESS";
    }
}
